

package cn.gz3c.uitest.bean;

import android.os.Parcel;
import android.os.Parcelable;

import com.huawei.hms.audioeditor.ui.common.bean.MediaData;

import java.util.Objects;


public class FormatMediaData extends MediaData implements Parcelable {
    public static final Creator<FormatMediaData> CREATOR = new FormatMediaDataCreator();
    private String u;
    private String v;
    private int w;

    protected FormatMediaData(Parcel var1) {
        super(var1);
        this.u = var1.readString();
        this.v = var1.readString();
        this.w = var1.readInt();
    }

    public int describeContents() {
        return 0;
    }

    public void writeToParcel(Parcel var1, int var2) {
        super.writeToParcel(var1, var2);
        var1.writeString(this.u);
        var1.writeString(this.v);
        var1.writeInt(this.w);
    }

    public boolean equals(Object var1) {
        if (this == var1) {
            return true;
        } else if (var1 != null && FormatMediaData.class == var1.getClass()) {
            if (!super.equals(var1)) {
                return false;
            } else {
                FormatMediaData var2 = (FormatMediaData) var1;
                return this.w == var2.w && Objects.equals(this.u, var2.u) && Objects.equals(this.v, var2.v);
            }
        } else {
            return false;
        }
    }

    public int hashCode() {
        Object[] var1;
        Object[] var10000 = var1 = new Object[4];
        var1[0] = super.hashCode();
        var1[1] = this.u;
        var1[2] = this.v;
        var10000[3] = this.w;
        return Objects.hash(var10000);
    }

    static final class FormatMediaDataCreator implements Creator<FormatMediaData> {
        public FormatMediaData[] newArray(int var1) {
            return new FormatMediaData[var1];
        }

        public FormatMediaData createFromParcel(Parcel var1) {
            return new FormatMediaData(var1);
        }
    }
}
